const path = require("path")
module.exports = {
    mode: "none",
    entry: "./src/main.js",
    output: {
        filename: "bunder.js",
        path: path.join(__dirname, "dist"),
        publicPath: "dist/"
    },
    module: {
        rules: [
            {
                test: /.md$/,
                // 也可以使用模块路劲
                use: [
                    "html-loader",
                    "./markdown-loader"
                ]
               
            },
        ] 
    }
}